package cn.me.alphamq.common.entity.resp;

import cn.me.alphamq.common.entity.BaseMsg;

import java.util.List;

/**
 * 拉取 broker 的地址的响应
 *
 * @author f
 */
public class PullBrokerAddressResp extends BaseMsg {

    /**
     * broker 的 ip 地址的链表
     */
    private List<String> brokerAddressList;

    public PullBrokerAddressResp() {
    }

    public PullBrokerAddressResp(String msgId, List<String> brokerAddressList) {
        super(msgId);
        this.brokerAddressList = brokerAddressList;
    }

    public List<String> getBrokerAddressList() {
        return brokerAddressList;
    }

    public void setBrokerAddressList(List<String> brokerAddressList) {
        this.brokerAddressList = brokerAddressList;
    }
}
